.home-create {
    &__flex{
        flex: 1;
    }
    &__tools {
        margin-bottom: 10px;

        &__key{
            line-height: 30px;
        }

        &__item{
            width: 100%;
        }
    }

    &__building__container{
        position: relative;
        overflow: hidden;
        &.is-overflow{
            padding: 0 48px;
        }
    }

    &__building__list{
        position: relative;
        display: flex;
        transition: all .3s ease;

        &.is-overflow{
            margin: 0 -1px;
        }
    }

    &__building__item{
        position: relative;
        cursor: pointer;
        padding: 10px 20px;
        text-align: center;
        border-top: 1px solid #ccc;
        border-left: 1px solid #ccc;
        transition: all .3s ease-in-out;
        word-break: keep-all;
        white-space: nowrap;

        &.is-close{
            border-bottom: 1px solid #ccc;
        }

        &.is-selected{
            background-color: rgb(241, 242, 248);
        }

        &:last-child{
            border-right: 1px solid #ccc;
        }

        &:hover .home-create__building__btns{
            width: 62px;
        }
    }

    &__left__arrow, &__right__arrow{
        position: absolute;
        z-index: 10;
        top: 0;
        bottom: 0;
        width: 48px;
        padding: 10px 20px;
        border: 1px solid #ccc;
        border-bottom: none;
        background-color: #fff;
    }

    &__right__arrow{
        right: 0;
    }
    &__left__arrow{
        left: 0;
    }

    &__building__name{
        display: inline-block;
        vertical-align: middle;
    }


    &__building__btns{
        display: inline-block;
        position: relative;
        text-align: right;
        word-break: keep-all;
        white-space: nowrap;
        width: 0;
        overflow: hidden;
        vertical-align: middle;
        transition: all .3s ease-in-out;
        transform-origin: 100% 50%;
    }

    &__building__btn{
        color: #05BAC5;
        margin-left: 5px;
    }

    &__focus{
        &__room__row{
            display: flex;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-left: 3px solid #05BAC5;
            background-color: #fafafa;
        }

        &__room__title{
            display: flex;
            position: relative;
            align-items: center;
            width: 50px;
            line-height: 38px;
            margin-right: 20px;
            border-radius: 4px;
            border: 1px solid #BBBEC4;
            justify-content: center;
            text-align: center;
            background-color: #fff;

            &.is-large{
                width: 80px;
            }

            &:hover &__tools{
                visibility: visible;
            }

            &__tools{
                display: flex;
                visibility: hidden;
                position: absolute;
                align-items: center;
                justify-content: center;
                top: 1px;
                left: 1px;
                right: 1px;
                bottom: 1px;
                background-color: #fff;
            }
        }

        &__room__list{
            flex: 1;
            display: flex;
            flex-wrap: wrap;
            margin: -10px;
        }

        &__room__item__wrap{
            width: 16.66666667%;
            padding: 10px;

            &.is-long{
                width: 25%;
            }

            &.is-flex{
                display: flex;
                height: 38px;
                justify-content: center;
            }
        }

        &__room__item{
            height: 38px;
            border: 1px solid #BBBEC4;
            border-radius: 2px;
        }

        &__room__delete{
            width: 20px;
            font-size: 20px;
            cursor: pointer;
        }

        &__room__edit{
            display: flex;
            align-items: center;
            border: 1px solid #BBBEC4;
            border-radius: 2px;
            background-color: #fff;
        }

        &__room__edit__content{
            display: flex;
            align-items: center;
            flex: 1;
            padding: 0 10px;

            & .is-append{
                width: 3em;
                visibility: hidden;
                margin-left: auto;
                color: #05BAC5;
            }

            &:hover .is-append{
                visibility: visible;
            }
        }

        &__room__prepend, &__room__append{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 38px;
            height: 38px;
        }

        &__room__prepend{
            border-right: 1px solid #BBBEC4;
        }

        &__room__append{
            font-size: 22px;
            cursor: pointer;
            border-left: 1px solid #BBBEC4;
        }
    }
}
